/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.download.lib;
import com.download.lib.HttpDownload;
/**
 *
 * @author 尹俊博
 */
public class Download implements Runnable {
    String name,in,out;
    public Download (String ins,String outs,String names) {
        name = names;
        in = ins;
        out = outs;
        
    }

    @Override
    public void run() {
       int weizhi = in.lastIndexOf("/");
       int total = in.length();
       String finish = in.substring(weizhi+1, total);
       HttpDownload ans = new HttpDownload(in,out+finish);
    }
    
}
